﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Hotel.Domain;
using HOTEL.Dao;

namespace HAINGUYEN_HOTEL
{
    public partial class HotelService : System.Web.UI.Page
    {
        private DichVuDao _dichVuDao = new DichVuDao();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                List<DICH_VU> dichvus = _dichVuDao.Getall();
                DataListDichvu.DataSource = dichvus;
                DataListDichvu.DataBind();
            }
        }
    }
}